#pragma once
#include "Drawable.h"
namespace qing {
	class Area: public Drawable {
		/* Phase Plotting Method */
		public:
			Area(Drawable *d, int w, int h, int x, int y, int rotate, int fontsize);
			Color _get(int x, int y) override;
			void _p(int x, int y, Color &clr) override;
			void _up(int x, int y, int w, int h, int level) override;
			void _down(int x, int y, int w, int h, int level) override;
			void _left(int x, int y, int w, int h, int level) override;
			void _right(int x, int y, int w, int h, int level) override;
			void flush(Drawable *n, bool border = false) override;
		protected:
			Drawable *d;
	};
}
